package org.cid54.jshopper.service;

import java.util.List;
import org.cid54.jshopper.model.Item;
import org.cid54.jshopper.model.ShopItem;

/**
 *
 * @author fgo
 */
public interface ShopItemService {

    List<Item> getItems();
    
    ShopItem getShopItemByName(String shopItemName);
    
    void create(ShopItem item, String userName);
    
    void update(ShopItem item, String userName);

    void toggleBoughtStatus(long shopItemId);

    void deleteShopItem(long shopItemId);

    void createItem(Item item);

}
